//
//  PublicMethod.h
//  CarService
//
//  Created by Nimo.Yu on 15/1/30.
//  Copyright (c) 2015年 lexingsoft. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PublicMethod : NSObject
///设置下拉刷新样式
+ (void)setPullToRefreshView:(UIScrollView *)scrollView;
///隐藏多余的分割线
+ (void) setExtraCellLineHidden:(UITableView *) tableView;
///解决Cell分割线偏移方案
+ (void) solveCellLineMigrationScheme:(UITableView *) tableView;

+ (UIImage *) resizeImageWithImage:(UIImage *) flagImage SpecialSize:(BOOL) useSpecialSize;

+ (void) startLocation;


+ (CGSize)getStringSize:(NSString *)contentString FontSize:(UIFont *)font textSize:(CGSize)textSize;

+ (NSString *)getUserSoundPath;
///判断系统版本号是否大于等于version如果大于或等于返回YES，否则返回NO，
+(BOOL)systemIsLaterThanString:(NSString *)version;

+ (void)setFinishRefreshView:(UIScrollView*)scrollView;
@end
